package cn.sccdlg.mybatis2.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author RaoShuang
 * @emil 991207823@qq.com
 * @date 2020/10/14 21:02
 * 用户实体类
 */
public class SysUser implements Serializable {
    /**
     * 用户标识
     */
    private Integer userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 出生日期
     */
    private Date birthday;
    /**
     * 性别
     */
    private String userSex;
    /**
     * 家庭住址
     */
    private String userAddress;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", birthday=" + birthday +
                ", userSex='" + userSex + '\'' +
                ", userAddress='" + userAddress + '\'' +
                '}';
    }
}
